package com.kingsalert.kingsalert.config;

public class UserState {

    //用户状态
    public static final String State_NoOrder = "No_Order";
    public static final String State_Wait = "Wait";
    public static final String State_Rp = "Repay";
    public static final String State_Fail = "Fail";

    public static String State = "No_State";

    public static boolean isStateChange(String newState){
        if (newState.equalsIgnoreCase(State)) return false;
        State = newState;
        return true;
    }

    public static void clearState(){
        State = "No_State";
    }

}
